.organic-reaction {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: calc(100vh - 160px);
  padding: 20px;
  background-color: #f5f5f5;
}

.organic-reaction-content {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.left-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drop-zone {
  width: 100%;
  min-height: 120px;
  border: 3px dashed #ccc;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  background-color: white;
}

.drop-zone.drag-over {
  border-color: #2196f3;
  background-color: rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

.controls {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.controls button {
  padding: 8px 16px;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.controls button:hover {
  background-color: #1976d2;
}

.three-container {
  flex: 2;
  height: 100%;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* 确保Canvas填满容器 */
.three-container > canvas {
  width: 100% !important;
  height: 100% !important;
} 